<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@include file="/context/mytags.jsp" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>商务拒绝服务单</title>
    <t:base type="jquery,easyui,tools,DatePicker"></t:base>
    <link rel="stylesheet" href="plug-in/uploadify/css/uploadify.css" type="text/css"/>
    <script type="text/javascript" src="plug-in/ckfinder/ckfinder.js"></script>
    <script type="text/javascript" src="plug-in/uploadify/jquery.uploadify-3.1.min.js"></script>
    <script type="text/javascript" src="webpage/com/zybk/cbsservice/cbsServiceDispatchOrder.js"></script>
    <script>
        function callback(data){
            if(data.success){
                window.top.$("#maintabs").tabs({
                    onBeforeClose : function(title,index){
                        try {
                            window.top.$("#maintabs").tabs('select','服务单管理');
                            window.top.tip(data.msg);
                            frameElement.api.reload();
                            if(top.myTabWin.reloadTable()){
                                top.myTabWin.reloadTable();
                            }
                        } catch (e) {
                        } finally{
                            return true;
                        }
                    }
                });
                window.top.$("#maintabs").tabs('close','服务商商务拒单');
            }else{
                tip(data.msg);
            }
        }
    </script>
</head>
<body>
<t:formvalid formid="generatePlan" action="cbsServiceAssignListController.do?refuseengineerassign" dialog="true" layout="table" tiptype="3">
    <input type="hidden" name="planIds" value="${planIds}">
    <table class="nobordertable noborder" style="border: none;">
        <tbody>
            <tr>
                <td class="al_r" width="30%" valign="top">
                    <label>原因:</label>
                </td>
                <td width="70%">
                    <textarea style="width: 80%; height: 60px;" id="reason" name="reason" datatype="*1-500" nullmsg="填写原因"></textarea>
                </td>
            </tr>
        </tbody>
    </table>
</t:formvalid>
</body>
</html>
